package com.werdior.shiro.service;

import com.baomidou.mybatisplus.service.IService;
import com.werdior.shiro.entity.UserRole;

import java.util.List;

/**
 * <p>
 * user_role 用户角色关联表 服务类
 * </p>
 *
 * @author werdior
 * @since 2017-12-23
 */
public interface IUserRoleService extends IService<UserRole> {

    void saveOrUpdate(Long id, List<Long> roleIdList);

    List<Long> queryRoleIdList(Long userId);
}
